#ifndef __DELAY_H
#define __DELAY_H

/* Includes ------------------------------------------------------------------*/
#include "stm8s.h"

#include "ch/bsp.h"
/* typedef -----------------------------------------------------------*/

/* define ------------------------------------------------------------*/

/* extern variables --------------------------------------------------*/

/* functions ---------------------------------------------------------*/
void delay_init(u8 clk); 
void delay_us(u16 nus);  
void delay_ms(u32 nms);  

#endif
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
